import { request } from '../util/request'

export default {
  grantAuthorization: (body) => request('/ldap_user/grant_authorization?t=' + (new Date().getTime()), body, 'post'),
  getLdapUser: (query) => request('/login_ldap?t=' + (new Date().getTime()), query, 'get')
}
